/*
 *
 *  * | Licensed 未经许可不能去掉「OPENIITA」相关版权
 *  * +----------------------------------------------------------------------
 *  * | Author: xw2sy@163.com
 *  * +----------------------------------------------------------------------
 *
 *  Copyright [2024] [OPENIITA]
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 * /
 */

package cc.iotkit.manager.dto.vo.deviceinfo;

import cc.iotkit.model.device.DeviceInfo;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;


@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = DeviceInfo.class,convertGenerate = false)
public class DeviceInfoImportVo implements Serializable {
    private static final long serialVersionUID = -1L;

    @ExcelProperty(value = "租户名称")
    private String tenantName;

    @ExcelProperty(value = "绑定区域")
    private String deptName;

    @ExcelProperty(value = "产品名称")
    private String productName;

    @ExcelProperty(value = "设备SN")
    private String deviceName;

    @ExcelProperty(value = "机器人SN")
    private String robotSn;

    @ExcelProperty(value = "设备型号")
    private String modelName;

   /* @ExcelProperty(value = "父级id")
    private String parentId;*/

    @ExcelProperty(value = "分组id")
    private String deviceGroup;

    @ExcelProperty(value = "合同日期")
    private LocalDate contractDate;

    @ExcelProperty(value = "省份名称")
    private String provinceName;

    @ExcelProperty(value = "城市名称")
    private String cityName;

    @ExcelProperty(value = "县市名称")
    private String countyName;

    @ExcelProperty(value = "目标时长")
    private Float targetHours;

    @ExcelProperty(value = "目录面积")
    private Float targetArea;

    //偏移系数（距离），默认值为1，由于wifi定位误差，统计距离时乘以该补偿系数
    @ExcelProperty(value = "偏移系数（距离）")
    private Float offsetCoefficientDistance;
}
